package com.work.cos.domain.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户信息
 * @author yang
 *
 */
public class UserEntity implements Serializable{

	/**
	 * SerialId
	 */
	private static final long serialVersionUID = 8458133099025967174L;
	
	/**
	 * ID
	 * */
	private Long  id;
	
	/**
	 * 个人昵称
	 * */
	private String nickName;
	
	/**
	 * 密码
	 * */
	private String password;
	
	/**
	 * 个性头像
	 * */
	private String avator;
	
	/**
	 * 手机号
	 * */
	private Long phone;
	
	/**
	 * 性别(key)
	 */
	private String sex;
	
	/**
	 * 
	 */
	private String birthday;
	
	/**
	 * 积分
	 * */
	private Long  credits;
	
	/**
	 * 分享码
	 */
	private Long shareCode;
	
	/**
	 * 关联code
	 */
	private Long relationCode;
	
	/**
	 * 创建时间
	 * */
	private String createTime;
	
	/**
	 * 修改时间
	 * */
	private String updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAvator() {
		return avator;
	}

	public void setAvator(String avator) {
		this.avator = avator;
	}

	public Long getPhone() {
		return phone;
	}

	public void setPhone(Long phone) {
		this.phone = phone;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public Long getCredits() {
		return credits;
	}

	public void setCredits(Long credits) {
		this.credits = credits;
	}

	public Long getShareCode() {
		return shareCode;
	}

	public void setShareCode(Long shareCode) {
		this.shareCode = shareCode;
	}

	public Long getRelationCode() {
		return relationCode;
	}

	public void setRelationCode(Long relationCode) {
		this.relationCode = relationCode;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
}
